//package com.zst.service.with.amqp.consumer;
//
//import com.zst.amqp.annotation.Consumer;
//import org.springframework.stereotype.Component;
//
//@Component
//public class Comsumers {
//    @Consumer(msgType = "consumerFirst")
//    public void consumerFirst() {
//
//    }
//
//    @Consumer(msgType = "consumerSecond")
//    public void consumerSecond(String message) throws Exception {
//        System.err.println("ConsumerSecond:"+message);
//        throw new Exception();
//    }
//
//    @Consumer(msgType = "Ibanez")
//    public void ibanez(String message) throws Exception {
//        System.err.println("This is ibanez2 : " + message);
//        throw new Exception();
//    }
//}
